home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat6
/
bgpaste.z
/
bgpaste
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
BBBBGGGGPPPPAAAASSSSTTTTEEEE((((6666DDDD)))) BBBBGGGGPPPPAAAASSSSTTTTEEEE((((6666DDDD))))
NNNNAAAAMMMMEEEE
bgpaste - paste an image onto the root window
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
bbbbggggppppaaaasssstttteeee [[[[----tttt rrrr gggg bbbb]]]] [[[[----oooo xxxxoooorrrriiiigggg yyyyoooorrrriiiigggg]]]] iiiinnnniiiimmmmaaaaggggeeee
bbbbggggppppaaaasssstttteeee [[[[----tttt rrrr gggg bbbb]]]] ----nnnn nnnnuuuummmmiiiimmmmggggssss xxxxoooorrrrgggg yyyyoooorrrrgggg iiiimmmmgggg [[[[xxxxoooorrrrgggg yyyyoooorrrrgggg iiiimmmmgggg .... .... .... ]]]]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_b_g_p_a_s_t_e works in one of two distinct ways: either feed it one image,
which by default is automatically centered (or explicitly specify the
image's origin), or feed it a list of one or more images preceeded by
their respective x/y origins to be painted as a composite in the root
window.
In the first case, _b_g_p_a_s_t_e centers and pastes inimage onto the root
window regardless of inimage's size.
You can override the "centering" default and explicitly position your own
image manually by using the -_o option to specify the image's absolute-
screenspace origin as measured from the bottom-left corner of the
graphics display screen. The _x_o_r_i_g,_y_o_r_i_g pair is defined in terms of the
image's bottom-left corner. Negative values are legal to specify and
will "plant" the image's origin offscreen to the left and/or the bottom
of the screen origin.
In the second case, the -_n flag tells _b_g_p_a_s_t_e you are including a list of
_n images, where each image is preceeded by its respective x/y origin pair
(again, negative values are legal). The intersection of the composite
set of images with that of the root window size is calculated and a
buffer of that size is allocated which will contain the composite. The
images will be painted in the order enumerated: the first image listed
will be painted first, the last will be painted last. Any "background"
within the composite, as well as any remaining area of the root window
not included in the intersection, will be painted with the default gray
color or one defined using the -_t flag.
In either of the above descriptions, if either the X or the Y size (or
both) of inimage/composite is smaller than the screen size, a gray
background is painted where the image/composite doesn't appear. This
gray default color can be redefined to be a specific RGB triplet using
the -_t option followed by the _r _g _b integer triplet. Use izoom(6D) if
you wish to blowup an inmage that is smaller than the screen's X and/or Y
size.
NNNNOOOOTTTTEEEE
When employing _b_g_p_a_s_t_e -_n performance will degrade because of the
creation of the buffer which stores the composite root window image.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
izoom(6D)
PPPPaaaaggggeeee 1111